// Copyright (c) Microsoft Corporation
// All rights reserved

namespace Microsoft.Windows.Controls.Specialized.TextModel
{
    using System;

    /// <summary>
    /// Provides the contract for describing the Text Versions
    /// </summary>
    public interface ITextVersion
    {
        /// <summary>
        /// Gets the next version node
        /// </summary>
        ITextVersion Next 
        { 
            get; 
        }

        /// <summary>
        /// Gets the current change information
        /// </summary>
        TextChange Change 
        { 
            get; 
        }

        /// <summary>
        /// Gets a version index
        /// </summary>
        int VersionIndex
        {
            get;
        }
    }
}
